package array;

public class ArraySort2 {
  public static void main(String args[]){
	   int[] a = {8,2,3,7,1};
	
	   java.util.Arrays.sort(a);
	    
	   print(a);
	}
  public static void print(int[] a){
	  for(int i=0;i<a.length;i++){
		  System.out.print(a[i]+"\t");
	  }
  }
}
